package com.atguigu.service;

import com.atguigu.entity.Admin;
import com.base.BaseService;

import java.util.List;
import java.util.Map;

public interface AdminService extends BaseService<Admin> {
    List<Admin> findAll();

    Map<String, Object> findRoleByAdminId(Long adminId);

    void saveUserRoleRealtionShip(Long adminId, Long[] roleIds);

    Admin getByUsername(String username);
}
